package com.amose.provider;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @time 2020/11/3
 * @since 1.0.0
 */
@SpringBootApplication
//@EnableEurekaClient // eureka客户端声明，这是eureka独有的
@EnableDiscoveryClient // 通用型注册中心发现注解(比如注册到eureka，nacos等）
public class ServiceProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceProviderApplication.class,args);
    }
}
